// https://www.jianshu.com/p/421cc442f06c
// https://zhuanlan.zhihu.com/p/102670723
// http://caibaojian.com/gitbook/format/conrefs.html
module.exports = {
  // 书籍信息
  title: 'petite-vue源码剖析',
  description: '',
  isbn: '',
  author: '^_^肥仔John',
  lang: 'zh-cn',
  /** 
   * 插件列表
   * 移除内置的 lunr, search 和 share(分享facebook等) 插件；
   * search-pro, 安装支持中文(UTF-8)全文搜索和高亮；
   * code, 安装美化代码块的；
   */ 
  plugins: [
    '-lunr', '-search', '-sharing', 
    'theme-comscore',
    'search-pro', 
    'code', 
    'back-to-top-button',
    'tbfed-pagefooter',
    'chapter-fold',
    'expandable-chapters',
    'splitter',
    'anchor-navigation-ex',
    'donate',
    'sharing-plus',
    'baidu'],
  // 插件全局配置
  pluginsConfig: {
    'tbfed-pagefooter': {
      copyright: 'Copyright &copy fsjohnhuang 2022'
    },
    'anchor-navigation-ex': {
      showLevel: true,
      showGoTop: false
    },
    'donate': {
      'wechat': '/petite-vue-source-reading/images/wechat.jpg',
      'title': '',
      'button': '赞赏',
      'wechatText': '微信打赏'
    },
    "sharing": {
      "douban": false,
      "facebook": false,
      "google": false,
      "hatenaBookmark": false,
      "instapaper": false,
      "line": false,
      "linkedin": false,
      "messenger": false,
      "pocket": false,
      "qq": false,
      "qzone": false,
      "stumbleupon": false,
      "twitter": false,
      "viber": false,
      "vk": false,
      "weibo": false,
      "whatsapp": false,
      "all": [
        "qq", "qzone", "weibo", "whatsapp",
        "twitter", "facebook", "line"
      ]
    },
    'baidu': {
      'token': '8bca1e3aa362a7f85dbe8304cff65225'
    }
  },
  //  模板变量
  variables: {
    // 自定义
  },
}